package com.hdoit.kylin.logical.baseInfo.service.impl;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.hdoit.kylin.logical.baseInfo.dao.IAcademyDao;
import com.hdoit.kylin.logical.baseInfo.model.Academy;
import com.hdoit.kylin.logical.baseInfo.service.IAcademyService;
/**
* @author luozhicheng
* @email
* @createtime 2017年07月19日 15:51:35
* @comment
*/
@Component
public class AcademyServiceImpl extends SuperService<Academy> implements IAcademyService{
	private IAcademyDao academyDao;
	
	public IAcademyDao getAcademyDao() {
		return academyDao;
	}
	@Resource
	public void setAcademyDao(IAcademyDao academyDao) {
		this.academyDao = academyDao;
	}

	public List<String> queryListBySchoolId(String schoolId){
		return academyDao.queryListBySchoolId(schoolId);
	}
	
	public List<Academy> queryList(List<String> academyIds){
		return academyDao.queryList(academyIds);
	}
}